< previous page page_780 next page >

Page 780
Note that if you choose the dependency file package type, the wizard does not actually create a working installation program. A dependency file holds information about all the files required by your program, for the purpose of including the installation of your project within the installation of another project. Unless you are creating a single setup for a bunch of projects, you should select the Standard Setup Package Option. If you are following along, do that now and click Next.
Assign a Package Folder
The next thing the Package and Deployment Wizard needs from you is the location of a package folder. The package folder is the directory in which the wizard creates your installation files. You can enter the name of a new directory if you do not want to place installation files in an existing directory. By default, a new folder called Package is created in the same directory as your project file.
Select Files to Include
After you select a package folder, you are presented with the Included Files screen, shown in Figure B.4. The Included Files screen lists the files that will be part of the installation package and allows you to add additional files. If you have additional files to distribute, such as INI or BMP files used by your program, you can add them to the list by using the Add button. ToolTips indicate whether a specific file was manually added or is required by another file.
0780-01.jpg
Figure B.4
The check box indicates that an item (and its dependent
files, if known) will be included in the installation package.
Suppose you want to add another Visual Basic EXE, DLL, or OCX file to your project. Perhaps you have separated your application into multiple projects; for example, you may have created an "Administration module" EXE for managing login IDs. If you have not created a package for each of the other projects, you may see the Missing Dependency Information dialog box, which is shown in Figure B.5.
The reason for the warning message is to make sure your installation works. For example, if you decide to include additional EXEs, you also need the DLLs and OCXs required by those EXEs. You can either generate the dependency information with the Package and Deployment Wizard or just ignore this message if you know that no special files are required. If you click any check boxes on this screen (which I do not recommend), the wizard does not ask you about that file's dependency information ever again.

 
< previous page page_780 next page >